﻿using MediatR;
using SmartTracking.API.Read.DTO;
using SmartTracking.Domain.UserInfo;
using SmartTracking.ErrorCode;

namespace SmartTracking.API.Read.Application.Commands.Role_command
{
    public class GetRoleCommand:IRequest<ApiResult<ApiPaging<RolePermissionDto>>>
    {
        /// <summary>
        /// 页码
        /// </summary>
        public int PageIndex { get; set; }
        /// <summary>
        /// 每页数量
        /// </summary>
        public int PageSize { get; set; }
        /// <summary>
        /// 角色名称
        /// </summary>
        public string? RoleName { get; set; }
    }
}
